Skip to content

[regression]Fix for test_finishTaskAndInvalidate failure #1049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

pushkarnk
Copy link
Member

@pushkarnk pushkarnk commented Jun 19, 2017

This regression was revealed by #1042 . Every URLSession object maintains a registry of URLSessionTasks. When a task completes, it must be removed from the registry. We missed this during the refactoring attempt in #968

I am not enabling any test here since #1042 is anyway going to do it.

@pushkarnk
Copy link
Member Author

@swift-ci please test

@pushkarnk pushkarnk changed the title Fix for test_finishTaskAndInvalidate failure [regression]Fix for test_finishTaskAndInvalidate failure Jun 19, 2017
@pushkarnk pushkarnk force-pushed the taskRegistry-regression branch from 7f4090f to c0d6380 Compare June 20, 2017 08:43
@pushkarnk
Copy link
Member Author

Added the test that exposed this regression.

@pushkarnk
Copy link
Member Author

@swift-ci please test and merge

1 similar comment
@pushkarnk
Copy link
Member Author

@swift-ci please test and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants